#include "StartLayer.h"

bool StartLayer::OnInit()
{
	return true;
}

void StartLayer::StartGame()
{
	GameSceneMgr::Instance()->RunScene(CSString("scene_main"));
}

bool StartLayer::Commond(CCNode* sender,CSString event)
{
	if(IsMatch("btn_start",sender))
	{
		StartGame();
		return true;
	}

	return false;
}

